// 登录请求参数类型
export interface LoginParam {
    username: string
    password: string
    verify_code: string
    captcha_id: string
}
// 登录返回参数类型
export interface LoginResult {
    expiresAt: number
    token: string
    code: number
}
// 用户信息
export interface UserInfo {
    id: string
    avatar: string
    username: string
    nickname: string
    mobile: string
    email: string
    role_name: string
    created_at: string
    permissions: Array<string>
}
// 用户信息
export interface UserModel {
    type: string
    id: string
    username: string
    password: string
    nickname: string
    status: string
    mobile: string
    email: string
}
// 用户列表查询参数
export interface UserListParam {
    username: string
    status: string
    current_page: number
    page_size: number
    total: number
}
// 表单提交的参数
export interface AddUserModel {
    id: string | number
    username: string
    password: string
    nickname: string
    status: number
    mobile: string
    email: string
}
// 分配角色列表参数
export interface AssignRoleListParam {
    current_page: number
    page_size: number
    total: number
}
export interface SelectRoleParam {
    role_id: string | number
    user_id: string | number
}

export interface ChangePassword {
    old_password: string
    password: string
    confirm_password: string
}
